package org.gary.core.service;

import java.util.Map;


public interface InitService {
	
	/**
	 * 更新news导航栏 application
	 * @param application
	 * @param session
	 */
	public void newsNavigation(Map<String, Object> session);
	
	/**
	 * 更新右边news application
	 * @param application
	 * @param session
	 */
	public void newsMinArticle(Map<String, Object> session);
	
	/**
	 * 更新右边links application
	 * @param application
	 * @param session
	 */
	public void minLinks(Map<String, Object> session);
	
	/**
	 * 更新右边QQService application
	 * @param application
	 * @param session
	 */
	public void minQQ(Map<String, Object> session);
	
	/**
	 * 更新product导航栏 application
	 * @param application
	 * @param session
	 */
	public void productNavigation(Map<String, Object> session);
	
	/**
	 * 更新equipment导航栏 application
	 * @param application
	 * @param session
	 */
	public void equipmentNavigation(Map<String, Object> session);
	
	/**
	 * 判断application中是否有初始化数据，没有则自动更新
	 * @param application
	 * @param session
	 */
	public void initAll(Map<String, Object> session);
	
	/**
	 * 强制更新application中所有数据
	 * @param application
	 * @param session
	 */
	public void initForceAll(Map<String, Object> session);
	
	public void updateNavigation(
			Map<String, Object> session);
}
